home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / python-xapian.preinst < prev    next >
Text File  |  2008-08-13  |  541b  |  21 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_pycentral
  4. if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q '^ *version'; then
  5.     pycentral pkgprepare python-xapian <<PYEOF
  6. [python-package]
  7. format = 1
  8. python-version = 2.4, 2.5
  9. [pycentral]
  10. version = 0.6.7
  11. [files]
  12. /usr/lib/python2.4/site-packages/_xapian.so=f
  13. /usr/lib/python2.5/site-packages/_xapian.so=f
  14. /usr/share/pyshared/xapian.py=f
  15. PYEOF
  16. else
  17.     mkdir -p /var/lib/pycentral
  18.     echo python-xapian >> /var/lib/pycentral/delayed-pkgs
  19. fi
  20. # End automatically added section
  21.